<?php

class Light_View_Helper_IsAdmin extends Light_View_Helper_Abstract
{
    public function isAdmin()
    {
        if (isset($_SESSION[LIGHT_SESSION_NAME]['isAdmin']) && $_SESSION[LIGHT_SESSION_NAME]['isAdmin']) {
            return true;
        }

        return false;
    }
}